/etc/hosts in Windows 8.1 doesnt work like in Windows 7 [on hold]

Posted by user225438 on Server Fault See other posts from Server Fault or by user225438
Published on 2014-06-09T11:53:43Z Indexed on 2014/06/09 15:29 UTC
Read the original article Hit count: 177

Filed under:
|
|

Last time when i installed Win7, i configured it to block some netbios names in LAN with hosts file. Something like this:

192.168.0.10 computer_name
192.168.0.10 computer_IP

where 192.168.0.10 some ip-address in network, where user need to login to access it. So, when user trying to access computer_name via \\computer_name, he will redirect to 192.168.0.10 rather then going to computer_name.

In Windows 8.1 I can't do this trick. I tried to disable Windows Defender, flushed DNS, nbtstat -R. Nothing works. When I pinging computer_name, IP address returning 192.168.0.10, but when I accessing it via explorer (\\computer_name\d$), it opening computer partitions. In Win7, when I trying to access \\computer_name, its trying to open 192.168.0.10 one.

Maybe its not the best solution to do this, but it works in Windows 7.

© Server Fault or respective owner

Related posts about redirect

Related posts about hosts